package com.fesine.blog.vo;

import lombok.Data;

/**
 * @description: 响应值对象
 * @author: Fesine
 * @createTime:2017/12/18
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2017/12/18
 */
@Data
public class Response {

    private boolean success;

    private String message;

    private Object body;

    public Response(boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    public Response(boolean success, String message, Object body) {
        this.success = success;
        this.message = message;
        this.body = body;
    }
}
